<%
	for column in @options[:scaffold_model].scaffold_columns
		html = ""
		if column.viewable_in_list?
      order_class, order = sort_class(@options[:scaffold_model], column)
			html << '<td'
			html <<  " class=\"sorted #{order_class}\"" unless order_class.nil?
			html << '>' + list_field_by_type(@one_row, column) + "</td>"
%>
	<%= html %>
<%
	  end 
	end
%>
